package io.zhifei.modules.sys.system.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author duke
 * @since 2020-11-09
 */
@Data
@ApiModel("字典结果集")
public class SysDictResult implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 主键id
     */
    @ApiModelProperty(value = "字典ID",example = "1")
    private String id;

    /**
     * 父级字典id
     */
    @ApiModelProperty(value = "父级字典id",example = "1",hidden = true)
    private String pid;

    /**
     * 字典名称
     */
    @ApiModelProperty(value = "字典名称")
    private String name;

    /**
     * 字典二级名称
     */
    @ApiModelProperty(value = "subName")
    private String subName;

    /**
     * 字典父级名称
     */
    @ApiModelProperty(value = "字典父级名称")
    private String pName;

    /**
     * 字典的编码
     */
    @ApiModelProperty(value = "字典的编码")
    private String code;

    /**
     * 字典父级编码名称
     */
    @ApiModelProperty(value = "字典父级编码名称")
    private String pCode;

    /**
     * 详情
     */
    @ApiModelProperty(value = "详情")
    private String detail;

    /**
     * 字典描述
     */
    @ApiModelProperty(value = "字典描述")
    private String description;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序",example = "1")
    private Integer sort;

    /**
     * 公海库规则，1：不进入公海、2：72小时候为跟踪进入公海、3：直接进入公海
     */
    @ApiModelProperty(value = "公海库规则，1：不进入公海、2：72小时候为跟踪进入公海、3：直接进入公海",example = "1")
    private Integer seaType;

    /**
     * 下级字典结果集
     */
    private List<SysDictResult> children;



}
